import React, { Component } from 'react'
import Step from 'components/step'
import SelectFiles from './selectFiles'
import SelectClasses from './selectClasses'
import Settings from './settings'

const options = [
  {
    icon: 'folder',
    title: '文件',
    description: '选择需要标注的文件',
    isOK: true,
    ui: SelectFiles,
  },
  {
    icon: 'user',
    title: '人员',
    description: '选择完成标注任务的人员',
    isOK: false,
    ui: SelectClasses,
  },
  {
    icon: 'setting',
    title: '确认',
    description: '请确认设置知否正确',
    isOK: true,
    ui: Settings,
  },
]

export default () => <Step options={options} title="创建下载任务" />
